package com.ktjy.pet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物对象 t_pet
 * 
 * @author t382
 * @date 2025-04-23
 */
public class TPet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long petId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String petName;

    /** 品种 */
    @Excel(name = "品种")
    private Integer petBreed;

    /** 性别 */
    @Excel(name = "性别")
    private Integer petSex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }

    public void setPetName(String petName) 
    {
        this.petName = petName;
    }

    public String getPetName() 
    {
        return petName;
    }

    public void setPetBreed(Integer petBreed) 
    {
        this.petBreed = petBreed;
    }

    public Integer getPetBreed() 
    {
        return petBreed;
    }

    public void setPetSex(Integer petSex) 
    {
        this.petSex = petSex;
    }

    public Integer getPetSex() 
    {
        return petSex;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("petId", getPetId())
            .append("petName", getPetName())
            .append("petBreed", getPetBreed())
            .append("petSex", getPetSex())
            .append("birthday", getBirthday())
            .append("description", getDescription())
            .toString();
    }
}
